package mysql

import (
	"context"

	mysqlApi "yyt/api/mysql"

	mysqlService "yyt/internal/logic/mysql"
)

func (m *MysqlController) Dump (ctx context.Context, req *mysqlApi.MysqlReq) (res *mysqlApi.MysqlRes, error error){
	s := mysqlService.NewMysqlService()
	return s.Dump(ctx, req)
}

func (m *MysqlController) Clear (ctx context.Context, req *mysqlApi.MysqlReq) (res *mysqlApi.MysqlRes, error error){
	s := mysqlService.NewMysqlService()
	return s.Clear(ctx, req)
}